package com.yuyou.fn.platform.service;

import com.github.wens.mybatisplus.plugins.Page;
import com.yuyou.fn.platform.entity.BusTeam;
import com.github.wens.framework.service.ISuperService;

import java.util.List;

/**
 *
 * BusTeam 表数据服务层接口
 *
 */
public interface IBusTeamService extends ISuperService<BusTeam,Long> {


    Page<BusTeam> findBusTeamForPage(int pageNo, int pageSize);

    void saveOrUpdateBusTeam(Long busTeamId, Long areaTeamId, String name);

    void deleteBusTeam(Long busTeamId);

    List<BusTeam> findBusTeamForList(Long areaTeamId,Long busTeamId);

    String findTeamNameById(Long busTeamId );


}